/**
 * 
 */
package com.ez.supervise.dao;

import java.util.List;

import com.ez.supervise.core.Page;
import com.ez.supervise.dao.base.BaseDao;

/**
 * @author searph.wang
 * @email searph.wang@gmail.com
 * @Created at 2009-7-22
 * 
 */
public interface CmsDao extends BaseDao {

    /**
     * @param page
     * @return
     */
    List findCmsByPage(Page page);

    /**
     * @param page
     * @return
     */
    int findCmsByCount(Page page);

    /**
     * @return
     */
    List findAll();

    List findCmsByPublish();

    void publish(Long id, String publishStatus);

}
